#include "Size2D.h"

Size2D::Size2D(void)
: m_Width(0.0)
, m_Length(0.0)
{
}

Size2D::Size2D(double a_Width, double a_Length)
: m_Width(a_Width)
, m_Length(a_Length)
{

}

Size2D::~Size2D(void)
{
}

double Size2D::GetWidth() const
{

	return m_Width;
}

double Size2D::GetLength() const
{

	return m_Length;
}

double Size2D::GetArea() const
{

	return GetLength() * GetWidth();
}

void Size2D::SetWidth(
	double a_Width
)
{

	m_Width = a_Width;
}

void Size2D::SetLength(
	double a_Length
)
{

	m_Length = a_Length;
}